import request from '@/utils/request'
//链接源
export function webCountQuery(data) {
  //网站访问量接口
  return request({
    method: 'get',
    url: '/webCount/query',
    params: data,
  })
}

export function webCountOpenApiAdd(data) {
  //添加
  return request({
    method: 'post',
    url: '/webCount/openApi/add',
    data,
  })
}

export function webCountOpenApiGetTodayTotal(data) {
  //今日访问量
  return request({
    method: 'get',
    url: '/webCount/openApi/getTodayTotal',
    params: data,
  })
}

export function webCountOpenApiGetTotal(data) {
  //网站访问量
  return request({
    method: 'get',
    url: '/webCount/openApi/getTotal',
    params: data,
  })
}
